package com.desmart.renjiao.main.bean;

import com.desmart.renjiao.main.adapter.HomeItemType;
import com.lemon.library.view.slidepager.BannerBean;

import java.util.ArrayList;

public class BannerView extends HomeItemType {

    private ArrayList<BannerBean> alist = new ArrayList<>();

    public BannerView(){
        BannerBean b1 = new BannerBean();
        b1.setTitle("日本语");
        b1.setImage("http://www.pep.com.cn/syzt/jx/201807/W020180926341913001772.jpg");
        b1.setUrl("http://www.pep.com.cn/xw/zt/hd/br30/");
        alist.add(b1);

        BannerBean b2 = new BannerBean();
        b2.setTitle("大会精神");
        b2.setImage("http://www.pep.com.cn/syzt/ky2/201812/W020181214505339250516.jpg");
        b2.setUrl("http://www.pep.com.cn/xw/zt/hd/xxgcqgjydhjs/");
        alist.add(b2);

        BannerBean b3 = new BannerBean();
        b3.setTitle("优秀教师");
        b3.setImage("http://www.pep.com.cn/syzt/zx/201809/W020180905543541627177.jpg");
        b3.setUrl("http://www.pep.com.cn/xw/zt/hd/xcyxjs/");
        alist.add(b3);

        BannerBean b4 = new BannerBean();
        b4.setTitle("中小学");
        b4.setImage("http://www.pep.com.cn/syzt/ky/201807/W020180731507228645605.jpg");
        b4.setUrl("http://www.pep.com.cn/xw/zt/px/grse/");
        alist.add(b4);

        BannerBean b5 = new BannerBean();
        b5.setTitle("中华经典");
        b5.setImage("http://www.pep.com.cn/syzt/cp/201710/W020180822416386160984.jpg");
        b5.setUrl("http://www.peeavp.com.cn/cpzx_195429/zhjdzyk/");
        alist.add(b5);

    }

    public ArrayList<BannerBean> getAlist() {
        return alist;
    }

    public void setAlist(ArrayList<BannerBean> alist) {
        this.alist = alist;
    }

    @Override
    public int getItemType() {
        return HomeItemType.Banner;
    }

}
